<div class="pageContent">
    <form action="__URL__/update/navTabId/{:CONTROLLER_NAME}" id="j_custom_form" class="pageForm form-validate" method="post" callback="dialogAjaxDone" noEnter>
      <input type="hidden" name="user_id" value="<?php echo $_SESSION[C('USER_AUTH_KEY')] ?>"/>
		<input type="hidden" name="id" value="{$vo.id}" />
        <div class="pageFormContent form-horizontal" layouth="60">
            <div class="form-group">
                <label for="j_account" class="control-label col-sm-2 ">用户名：</label>
                <input type="text" class="form-control validate[required,custom[onlyLetterNumber],minSize[3]] required" size="30" name="account" id="j_account" value="{$vo.account}"  >
            </div>
            <input type="hidden" name="parent_id" value="{$vo.parent_id}">
            <input type="hidden" name="dengji" value="{$vo.dengji}">
            <div class="form-group">
                <label for="j_nickname" class="control-label col-sm-2">姓名：</label>
                <input type="text" class="form-control validate[required] required" size="30" name="nickname" id="j_nickname" value="{$vo.nickname}" >
            </div>
            <div class="form-group">
                <label for="j_nickname" class="control-label col-sm-2 ">短信条数：</label>
                
                <input type="text" class="form-control validate[required] required" size="30" name="smssum" id="j_smssum" value="{$vo.smssum}" >
               
            </div>
            <div class="form-group">
                <label for="j_roleId" class="control-label col-sm-2">权限组：</label>
                <select name="roleId" id="j_roleId"  data-container="body"  class="selectpicker show-tick validate[required]" data-style="btn-default btn-sm" data-width="auto">
                               
                              
	              		 <option value="">请选择权限组</option>
		        <volist name="list" id="list">
						<option value="{$list.id}" <eq name="vo.roleid" value="$list.id" >selected</eq>>{$list.name}</option>
                                                <volist name="list['_child']" id="sub">
                                                    <option value="{$sub.id}" <eq name="vo.roleid" value="$sub.id" >selected</eq>>&nbsp;&nbsp;&nbsp;&nbsp;{$sub.name}</option>
                                                       <volist name="sub['_child']" id="threetree">
                                                            <option value="{$threetree.id}" <eq name="vo.roleid" value="$threetree.id" >selected</eq>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$threetree.name}</option>
                                                        </volist>
                                                </volist>
					</volist>
                 </select>
                 
            </div>
            <div class="form-group">
                <label for="j_status" class="control-label col-sm-2">状态：</label>
               <select name="status"  data-container="body"  id="j_status" class="selectpicker show-tick validate[required]" data-style="btn-default btn-sm" data-width="auto">
                               
                                 <option <eq name="vo.status" value="1" >selected</eq> value="1">启用</option>
                                <option <eq name="vo.status" value="0" >selected</eq> value="0">禁用</option>
                 </select>
            </div>
            <div class="form-group">
                <label for="j_remark" class="control-label col-sm-2">备注：</label>
                <textarea name="remark" id="j_remark" class="form-control autosize" rows="4" cols="30">{$vo.remark}</textarea>
            </div>
		</div>
		<div class="formBar">
            <ul>
                <li><button type="submit" class="btn btn-primary btn-sm">保存</button></li>
                <li><button type="button" class="btn btn-close btn-sm">取消</button></li>
            </ul>
		</div>
    </form>
</div>